of

open fun of(left: Int, right: Int, top: Int, bottom: Int): PageMargins.CustomMargins

Creates custom margins for the web page in points. One point equals 1/72 of an inch.

Parameters

left

the margin on the left side of the sheet

right

the margin on the right side of the sheet

top

the margin on the top side of the sheet

bottom

the margin on the bottom side of the sheet

Throws

if any of the input parameters is negative